<%-- 
    Document   : detail
    Created on : 2013-4-25, 16:55:11
    Author     : Administrator
--%>

<%@page import="org.piaohao.model.Driver"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <style>
            table{
                border-collapse:collapse; 
            }
            td{border:1px solid #aaa;background-color: white;}
            th{background-color: #F2F4B9;width:150px;}
        </style>
    </head>
    <body>
        <table border="1" cellpadding="0" cellspacing="0" width="100%" height="100%">
            <tr>
                <th>预警内容：</th>
                <td width="600">${warnResult.content}</td>
                <th>记录总数：</th>
                <td>${total}</td>
            </tr>
            <tr>
                <th>扫描日期：</th>
                <td>${warnResult.create_time}</td>
                <th>&nbsp;</th>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <th valign="top">具体信息：</th>
                <td colspan="3">
                    <table border="1">
                        <c:forEach var="driver" items="${drivers}">
                            <tr>
                                <td width="100">姓名：</td><td width="200">${driver.name}</td>
                                <td width="100">身份证：</td><td width="200">${driver.id_card}</td>
                                <td width="100">电话：</td><td width="200">${driver.cellphone}</td>
                                <td width="100">年龄：</td><td width="200">${driver.age}</td>
                            </tr>
                        </c:forEach>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>
